package cc.rengu.igas.bsps.common.dao;

import cc.rengu.igas.bsps.common.entity.CustomerStatisticInfo;

import java.util.List;

/**
 * @description 用户统计分析接口类
 * @author wpf
 */
public interface BspsCustomerStatisticMapper {

    /**
     *
     * @description <根据统计类型查询统计分析表>
     * @param mchntNo
     * @param instId
     * @param statisticType
     * @param statisticDate
     * @return java.util.List<cc.rengu.igas.bsps.common.entity.CustomerStatisticInfo>
     * @author wpf
     * @throws Exception
     * @date 2023/12/20 11:11
     */
    List<CustomerStatisticInfo> selectCustomerInfoByStatisticType(String mchntNo,String instId,String statisticType,String statisticDate) throws Exception;

    /**
     *
     * @description <插入统计数据>
     * @param customerStatisticInfo
     * @return int
     * @author wpf
     * @throws Exception
     * @date 2023/12/25 11:16
     */
    int insertCustomerInfo(CustomerStatisticInfo customerStatisticInfo)throws Exception;

}
